package StudyCode.summary.BufferAndChannel;

import java.nio.ByteBuffer;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ByteBufferPutByte {
	public static void main(String[] args) {
		ByteBuffer bbuf = ByteBuffer.allocate(10);
		bbuf.put((byte) 0xFF);
		System.out.println("ByteBuffer 加入 byte:");
		System.out.println(bbuf.get());
	}
}
